const userTable = {
  title: "用户信息",
  name: "xcode_user",
  fields: [
    {
      title: "编号",
      name: "staff_id",
      type: "数字",
      length: "10",
      cmpnt: "input",
      default: "10000",
      nullable: "否",
      constraints: "PK,SEQ",
    },
    {
      title: "名称",
      name: "name",
      type: "字符串",
      length: "32",
      cmpnt: "input",
      nullable: "否",
    },
    {
      title: "部门",
      name: "dpt_id",
      type: "字符串",
      length: "32",
      cmpnt: "select",
      nullable: "是",
    },
    {
      title: "业务型",
      name: "lob_id",
      type: "字符串",
      length: "32",
      cmpnt: "select",
      nullable: "否",
    },
    {
      title: "岗位",
      name: "position",
      type: "字符串",
      length: "32",
      cmpnt: "select",
      nullable: "否",
    },
    {
      title: "职位",
      name: "title",
      type: "字符串",
      length: "32",
      cmpnt: "select",
      nullable: "否",
    },
    {
      title: "手机",
      name: "mobile",
      type: "字符串",
      length: "32",
      cmpnt: "input",
      nullable: "否",
    },
    {
      title: "邮箱",
      name: "email",
      type: "字符串",
      length: "32",
      cmpnt: "input",
      nullable: "否",
    },
    {
      title: "邮件通知",
      name: "is_email_enabled",
      type: "数字",
      length: "2",
      cmpnt: "switch",
      default: "1",
      nullable: "否",
    },
    {
      title: "状态",
      name: "status",
      type: "数字",
      length: "2",
      cmpnt: "switch",
      nullable: "否",
    },
    {
      title: "创建时间",
      name: "create_time",
      type: "日期",
      length: "",
      cmpnt: "input",
      default: "sysdate",
      nullable: "否",
    },
  ],
};
const tables = [userTable];
export { tables };
